Package-level declarations
Types
Routes a proposition based purely on its own confidence: anything below minConfidence is rejected, everything else is persisted.
Routes propositions that contradicted existing knowledge to review. The gate carries no policy: it reads only GateContext.revisionResult.
Stops a cheap structural signal from being asserted as a strong claim.
A policy check applied to a proposition after extraction but before it is persisted or projected. A gate inspects a single proposition together with its GateContext and returns a GateEvaluation expressing how the proposition should be routed.
A standalone runner that applies an ordered list of ExtractionGates to propositions and aggregates each gate's GateEvaluation into a GatedPropositionResult.
Context passed to a gate alongside the proposition under evaluation.
The routing decision a gate reaches for a proposition. Exactly five outcomes are possible.
The aggregated outcome of running one or more gates against a proposition, together with the final routing decision.
The outcome of evaluating a single proposition against a single gate.
Routes propositions that were merged into, or reinforced an existing proposition to review so a consumer can confirm the consolidation. The gate carries no policy: it reads only GateContext.revisionResult.
Decorator that adds event emission to any ExtractionGate.
Decides whether a proposition should be projected to downstream representations.
Routes propositions whose trust score falls below minTrustScore. The score is supplied by the consumer through GateContext.trustScore; this gate never computes trust and depends on no scoring component — it only reads the injected value.